package com.ssm.entity;

import java.util.Date;

public class ArticleCategory {
    private int cid;
    private String cname;
    private String description;
    private int parent_id;
    private Date create_time;
    
    // 关联属性
    private ArticleCategory parent;
    
    public int getCid() {
        return cid;
    }
    
    public void setCid(int cid) {
        this.cid = cid;
    }
    
    public String getCname() {
        return cname;
    }
    
    public void setCname(String cname) {
        this.cname = cname;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public int getParent_id() {
        return parent_id;
    }
    
    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }
    
    public Date getCreate_time() {
        return create_time;
    }
    
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    
    public ArticleCategory getParent() {
        return parent;
    }
    
    public void setParent(ArticleCategory parent) {
        this.parent = parent;
    }
} 